package com.wngbms.feigndemo;

import com.wngbms.feigndemo.feign.UserClient;
import com.wngbms.feigndemo.feign.UserClient2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * java -javaagent:D:\Program\repository\org\jacoco\org.jacoco.agent\0.8.8\org.jacoco.agent-0.8.8-runtime.jar=destfile=f:\123,includes=* -jar .\feigndemo-1.0.0.jar
 */
//@EnableFeignClients(clients = {UserClient.class, UserClient2.class})
@EnableFeignClients
@EnableAspectJAutoProxy(proxyTargetClass = true)
@SpringBootApplication
public class FeigndemoApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(FeigndemoApplication.class, args);
    }

}
